package com.px.business.domain;

import com.px.common.annotation.Excel;
import com.px.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 指标体系对象 evaluation_system
 *
 * @author 品讯科技
 * @date 2024-08
 */
@Data
public class EvaluationSystem extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 体系标识
     */
    private Long evaluationSystemId;

    /**
     * 体系名称
     */
    @Excel(name = "体系名称")
    private String evaluationSystemName;

    /**
     * 总分
     */
    @Excel(name = "总分")
    private Long totalPoints;

    /**
     * 序号
     */
    @Excel(name = "序号")
    private Long seqNo;

    /**
     * 启用标志
     */
    @Excel(name = "启用标志")
    private String enabledFlag;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private Long createdBy;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifiedAt;

    /**
     * 修改人
     */
    @Excel(name = "修改人")
    private Long modifiedBy;

    public EvaluationSystem() {
    }

    public EvaluationSystem(Long evaluationSystemId, Long totalPoints) {
        this.evaluationSystemId = evaluationSystemId;
        this.totalPoints = totalPoints;
    }

}
